package com.itheima.utils;


public class ThreadLocalUtils {
    private static final ThreadLocal<Integer> THREAD_LOCAL = new ThreadLocal<>();

    public static void set(Integer id) {
        THREAD_LOCAL.set(id);
    }
    public static Integer get() {
        return THREAD_LOCAL.get();
    }
    public static void remove() {
        THREAD_LOCAL.remove();
    }
}
